<div class="top-action">
	<ul class="links">
		<li><a href="configurations-list.php">List Configurations</a></li>
	</ul>
</div>
<div class="form-wrap">
<form id="configurations-add-form" name="configurations-add-form" method="post" action="configurations-add.php" enctype="multipart/form-data">
	  <table class="data-editor">

	<tr class="{cycle values='A,B'}">
		<td class="attribute">Name: <span class="required">*</span></td>
		<td>
			<input type="text" name="configurations[define_name]" value="{$configurations.define_name|utf8}" class="input" id="configurations-define_name" />
			<span class="form-hints">Define Name, the CONSTANT name</span>		</td>
	</tr>

	<tr class="{cycle values='A,B'}">
		<td class="attribute">Value: <span class="required">*</span></td>
		<td>
			<input type="text" name="configurations[define_value]" value="{$configurations.define_value|utf8}" class="input" id="configurations-define_value" />
			<span class="form-hints">Defined value that it holds</span>		</td>
	</tr>

	<tr class="{cycle values='A,B'}">
		<td class="attribute">Sample: <span class="required">*</span></td>
		<td>
			<input type="text" name="configurations[define_sample]" value="{$configurations.define_sample|utf8}" class="input" id="configurations-define_sample" />
			<span class="form-hints">Copy of defined value as a sample/hint/reference</span>		</td>
	</tr>

	<tr class="{cycle values='A,B'}">
		<td class="attribute">Handler: <span class="required">*</span></td>
		<td>
			<input type="text" name="configurations[define_handler]" value="{$configurations.define_handler|utf8}" class="input" id="configurations-define_handler" />
			<span class="form-hints">PHP hanlder function to process the data</span>		</td>
	</tr>

	<tr class="{cycle values='A,B'}">
		<td class="attribute">Comments: <span class="required">*</span></td>
		<td>
			<input type="text" name="configurations[define_comments]" value="{$configurations.define_comments|utf8}" class="input" id="configurations-define_comments" />
			<span class="form-hints">Comments</span>		</td>
	</tr>

	
		<tr class="{cycle values='A,B'}">
		  <td class="attribute">&nbsp;</td>
		  <td>
			<input type="text" name="email" value="" class="vanish" />
			<input type="text" name="is_spam" value="" class="vanish" />
			<!--{* 100% sure, only spammers fill these fields, Leave it blank. *}-->
			
			<input type="hidden" name="protection_code" value="{$protection_code}" />
			<input type="hidden" name="add-action" value="Add Configurations" />
			<input type="submit" name="submit-button" class="submit" value="Add" />
			<a href="{url::last_page('configurations-list.php')}" class="button-cancel">Cancel</a>
		</td>
		</tr>
	  </table>
	</form>
</div>
<!-- End of administrators Add -->


<!-- Add validation -->
<script type="text/javascript" src="js/validator/gen_validatorv31.js"></script>
{js src='validators/configurations/add.js' validator=true}

<!-- Rich Editor: Remove if not necessary. Or, use different .js files -->
<script type="text/javascript" src="js/tinymce/tiny_mce.js"></script>
<script type="text/javascript" src="js/tinymce-textareas.js"></script>

<!-- End of configurations Add -->